package com.ruoyi.exam.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 试题答案对象 question_result
 * 
 * @author ruoyi
 * @date 2024-07-01
 */
public class QuestionResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 选择图片 */
    @Excel(name = "选择图片")
    private String resultPhotos;

    /** 答案内容 */
    @Excel(name = "答案内容")
    private String resultContent;

    /** 答案解析 */
    @Excel(name = "答案解析")
    private String resultAnalyze;

    /** 试题ID */
    @Excel(name = "试题ID")
    private Long testQuestionId;

    /** 是否逻辑删除:0否,1:是 */
    @Excel(name = "是否逻辑删除:0否,1:是")
    private Integer isDeleted;
    @Excel(name = "是否是答案:0否,1:是")
    private Integer isAnswer;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setResultPhotos(String resultPhotos) 
    {
        this.resultPhotos = resultPhotos;
    }

    public String getResultPhotos() 
    {
        return resultPhotos;
    }
    public void setResultContent(String resultContent) 
    {
        this.resultContent = resultContent;
    }

    public String getResultContent() 
    {
        return resultContent;
    }
    public void setResultAnalyze(String resultAnalyze) 
    {
        this.resultAnalyze = resultAnalyze;
    }

    public String getResultAnalyze() 
    {
        return resultAnalyze;
    }
    public void setTestQuestionId(Long testQuestionId) 
    {
        this.testQuestionId = testQuestionId;
    }

    public Long getTestQuestionId() 
    {
        return testQuestionId;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    public Integer getIsAnswer() {
        return isAnswer;
    }

    public void setIsAnswer(Integer isAnswer) {
        this.isAnswer = isAnswer;
    }

    @Override
    public String toString() {
        return "QuestionResult{" +
                "id=" + id +
                ", resultPhotos='" + resultPhotos + '\'' +
                ", resultContent='" + resultContent + '\'' +
                ", resultAnalyze='" + resultAnalyze + '\'' +
                ", testQuestionId=" + testQuestionId +
                ", isDeleted=" + isDeleted +
                ", isAnswer=" + isAnswer +
                '}';
    }
}
